<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./index.css">
  <script crossorigin="anonymous"
    integrity="sha512-2ho+gY0H62N4Z9oxD422L2ZYXiOMq9l+Aub1QNz4Z4UDOtDVxz4vk6O6R3Hqqc9Y7qSvZFl7cy3+eZ/ITnUrLA=="
    src="https://lib.baomitu.com/socket.io/4.1.2/socket.io.min.js"></script>
  <title>WebSocket</title>
</head>

<body>
  <div id="mswChat">
    <div id="chatWindow">
      <div id="outputArea"></div>
      <div id="feedbackArea"></div>
    </div>
    <input type="text" id="username" placeholder="username">
    <input type="text" id="message" placeholder="message">
    <button id="sendButton">发送</button>
  </div>

  <script src="./chat.js"></script>
</body>

</html>